//
//  MyImagePickerManagerDelegate.h
//  OntheRoadV4
//
//  Created by hz on 4/13/13.
//  Copyright (c) 2013 EricHuang. All rights reserved.
//

#import <Foundation/Foundation.h>

@class QWImagePickerManager;

@protocol QWImagePickerManagerDelegate <NSObject>

/**
 *  选择图片之后返回调用的代理方法
 *
 *  @param picker  picker
 *  @param selectedAssets 选中的图片对象（ImageAsset）
 */
- (void)QWImagePickerManager:(QWImagePickerManager *)picker
          didPickImageAssets:(NSArray *)selectedAssets;

/**
 *  选择视频之后返回调用的代理方法
 *
 *  @param picker   picker
 *  @param infoDict 视频相关信息  assetUrl->视频地址  imageAsset->imageAsset对象 videoFileName->文件名称
 *  videoPath 视频文件地址 videoThumbnail->视频缩略图 videoUUID->视频UUID isVideo->是否是视频（总是为YES）
 */
- (void)QWImagePickerManager:(QWImagePickerManager *)picker
                didPickVideo:(NSDictionary *)infoDict;

@optional
/**
 *  取消选择
 *
 *  @param picker pick
 */
- (void)QWImagePickerManagerDidCancel:(QWImagePickerManager *)picker;
/**
 *  略过选择
 *
 *  @param picker picker
 */
- (void)QWImagePickerManagerDidSkip:(QWImagePickerManager *)picker;

@end
